package com.gf.pf.model;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @description 资源菜单
 * @date   Mar 7, 2015
 */
public class Resource implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5545257076112746466L;

	/**
	 * 资源菜单ID
	 */
	private String id;
	
	/**
	 * 资源菜单名称
	 */
	private String resourceName;
	
	/**
	 * 父资源菜单ID
	 */
	private String resourceParentId;
	
	/**
	 * 父资源菜单名称
	 */
	private String resourceParentName;
	
	/**
	 * url地址
	 */
	private String resourceUrl;
	
	/**
	 * 排序值
	 */
	private Integer resourceOrderno;
	
	/**
	 * 是否有效 0：无效  1：有效
	 */
	private String resourceIsvalid;
	
	/**
	 * 图标地址
	 */
	private String resourceIcon;
	
	/**
	 * 用于存放二级资源菜单
	 */
	private List<Resource> erJiResourceList;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the resourceName
	 */
	public String getResourceName() {
		return resourceName;
	}

	/**
	 * @param resourceName the resourceName to set
	 */
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	/**
	 * @return the resourceParentId
	 */
	public String getResourceParentId() {
		return resourceParentId;
	}

	/**
	 * @param resourceParentId the resourceParentId to set
	 */
	public void setResourceParentId(String resourceParentId) {
		this.resourceParentId = resourceParentId;
	}

	/**
	 * @return the resourceParentName
	 */
	public String getResourceParentName() {
		return resourceParentName;
	}

	/**
	 * @param resourceParentName the resourceParentName to set
	 */
	public void setResourceParentName(String resourceParentName) {
		this.resourceParentName = resourceParentName;
	}

	/**
	 * @return the resourceUrl
	 */
	public String getResourceUrl() {
		return resourceUrl;
	}

	/**
	 * @param resourceUrl the resourceUrl to set
	 */
	public void setResourceUrl(String resourceUrl) {
		this.resourceUrl = resourceUrl;
	}

	/**
	 * @return the resourceOrderno
	 */
	public Integer getResourceOrderno() {
		return resourceOrderno;
	}

	/**
	 * @param resourceOrderno the resourceOrderno to set
	 */
	public void setResourceOrderno(Integer resourceOrderno) {
		this.resourceOrderno = resourceOrderno;
	}

	/**
	 * @return the resourceIsvalid
	 */
	public String getResourceIsvalid() {
		return resourceIsvalid;
	}

	/**
	 * @param resourceIsvalid the resourceIsvalid to set
	 */
	public void setResourceIsvalid(String resourceIsvalid) {
		this.resourceIsvalid = resourceIsvalid;
	}

	/**
	 * @return the resourceIcon
	 */
	public String getResourceIcon() {
		return resourceIcon;
	}

	/**
	 * @param resourceIcon the resourceIcon to set
	 */
	public void setResourceIcon(String resourceIcon) {
		this.resourceIcon = resourceIcon;
	}

	/**
	 * @return the erJiResourceList
	 */
	public List<Resource> getErJiResourceList() {
		return erJiResourceList;
	}

	/**
	 * @param erJiResourceList the erJiResourceList to set
	 */
	public void setErJiResourceList(List<Resource> erJiResourceList) {
		this.erJiResourceList = erJiResourceList;
	}
	
}
